﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace VersionComparer.UI.ExtendedRichTextBox
{
    public class RichTextBoxColorInfo
    {
        public RichTextBoxColorInfo()
        {
        }
        public RichTextBoxColorInfo(Color foreColor)
        {
            ForeColor = foreColor;
        }
        public int Start
        {
            get;
            set;
        }
        public int Length
        {
            get;
            set;
        }
        public bool IsFullLine
        {
            get
            {
                return Start == 0 && Length == 0;
            }
        }
        public Color? ForeColor
        {
            get;
            set;
        }
        public Color? BackColor
        {
            get;
            set;
        }
    }
}
